﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace CommunitySystemModel
{
    /// <summary>
    /// 块区信息
    /// </summary>
        [Serializable]
    [DataContract]
    public class BAS_KQXXModel : INotifyPropertyChanged
    {
             [DataMember]
             public int Id	{get;set;}
             [DataMember]
             public string KqName	{get;set;}
             [DataMember]
             public int JWID	{get;set;}
             [DataMember]
             public string LXDH { get; set; }


              [DataMember]
             public string ZhuZ { get; set; }
              [DataMember]
              public int KQRenCount { get; set; }
              [DataMember]
              public string FWXQ { get; set; }

             [DataMember]
             public List<SimpleObject<int, string, int,string, bool>> CuHaoKqRelations
             {
                 get;
                 set;
             }

             [DataMember]
             public List<string> KQSLR
             {
                 get;
                 set;
             }
             [DataMember]
             public List<string> CjSLR
             {
                 get;
                 set;
             }

             public event PropertyChangedEventHandler PropertyChanged;
    }

    /// <summary>
    /// 块区人员
    /// </summary>
        [Serializable]
        [DataContract]
        public class BAS_KQRY : INotifyPropertyChanged
        {
             [DataMember]
            public int Id { get; set; }
             [DataMember]
             public string XM { get; set; }
             [DataMember]
             public string SFZH { get; set; }
             [DataMember]
             public string XB { get; set; }
             [DataMember]
             public string LXFS { get; set; }
             [DataMember]
             public string GangWei { get; set; }

              [DataMember]
             public string JueSe { get; set; }
              [DataMember]
              public string KqName { get; set; }

              [DataMember]
              public int KqId { get; set; }

            [DataMember]
             public List<BAS_KQRYGX> CuBAS_KQRYGX { get; set; }


            public event PropertyChangedEventHandler PropertyChanged;
        }

        /// <summary>
        /// 块区人员角色
        /// </summary>
        [Serializable]
        [DataContract]
        public class BAS_KQRYGX : INotifyPropertyChanged
        {
            [DataMember]
            public int Id { get; set; }
            [DataMember]
            public int KQID { get; set; }
            [DataMember]
            public int KQRYID { get; set; }
            [DataMember]
            public string JueSe { get; set; }
            [DataMember]
            public string GangWei { get; set; }
          


            public event PropertyChangedEventHandler PropertyChanged;
        }


        public class SimpleObject<T1, T2, T3, T4,T5>
        {
            public T1 Item1 { get; set; }
            public T2 Item2 { get; set; }
            public T3 Item3 { get; set; }
            public T4 Item4 { get; set; }
            public T5 Item5 { get; set; }
        }
   
}
